describe('practice-4-6', function () {

    it("求多项式的和", function () {
        var result_5 = the_sum_of_polynomial(5);
        expect(result_5.toFixed(6)).toBe('1.716667');

        var result_10 = the_sum_of_polynomial(10);
        expect(result_10.toFixed(6)).toBe('1.718282');

        var result_50 = the_sum_of_polynomial(50);
        expect(result_50.toFixed(6)).toBe('1.718282');
    });

});
